package com.campus.app.service;

import com.campus.commons.entity.Counsellor;
import com.campus.commons.entity.Course;
import com.campus.commons.entity.EveningSubject;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;

public interface FunctionServer {

    /**
     *     上传课表;返回Course 集合
     * @param fileName 文件名字
     * @param upFile  文件流
     */
    List<Course> upLoadCourse(InputStream upFile, String fileName) throws IOException;
    /**
     *     上传晚自习排课表;返回EveningSubject 集合
     * @param fileName 文件名字
     * @param upFile  文件流
     */
    List<EveningSubject> upLoadEveningSubject(InputStream upFile, String fileName) throws IOException;
    /**
     *     上传学习部值班表;返回Counsellor 集合
     * @param fileName 文件名字
     * @param upFile  文件流
     */
    List<Counsellor> upLoadCounsellor(InputStream upFile, String fileName) throws IOException;

}
